<?php defined('RUN_KATANA') or die('Restricted access'); ?>
<?php if (count($adc->CurrentAd->getFiles()) > 9): ?>
<div class="info"><?php echo ucfirst($txt->getWord('max').' '.$txt->getWord('count').' '.$txt->getWord('files').' '.$txt->getWord('uploaded')); ?>
</div>
<?php else:  ?>
<table cellspacing="0" cellpadding="0" border="0">
	<tr>
		<td><input id="file_upload" type="file" name="File" />&nbsp;&nbsp;&nbsp;&nbsp;</td>
		<td>
			<?php echo getButtonsHTML($theme->HFBSets[$theme->ComHFB]['button'], $com->getButtonsFooter()); ?><br />
        </td>
	</tr>
</table>
<?php endif; ?>